package com.hxzy.mapstruct;

import com.hxzy.controller.mobile.cart.req.CartAddReq;
import com.hxzy.entity.ShoppingCart;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ShopCartMapStruct {
    ShopCartMapStruct INSTANCE= Mappers.getMapper(ShopCartMapStruct.class);

    ShoppingCart convert(CartAddReq req);
}
